package ipad.asia.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.experimental.Accessors;

/**
 * @Description  
 * @Author  冯东旺
 * @Date 2021-04-24 15:01:59 
 */

@Entity
@Data
@Accessors(chain = true)
@Table ( name ="message")
public class Message {


	@Id
   @Column(name = "id" )
	private int id;

   @Column(name = "user" )
	private String user;

   @Column(name = "toUser" )
	private String toUser;

   @Column(name = "content" )
	private String content;

   @Column(name = "date" )
	private Date date;

}
